<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post">

{#    只要使用csrfproject保护app，那么可以直接使用csrf_token()  #}
    <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
    用户名：<input type="text" name = "username"><br>
    密码：<input type="password" name = "password"><br>
    确认密码：<input type="password" name = "repassword"><br>
    <input type="submit" value="注册">
</form>
</body>
</html>